package cn.jobstart.command;

import cn.jobstart.spider.service.ISpiderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author sunke
 * @version 1.0
 * @Description
 * @date 2023-10-08 21:21
 */

@Component
@Slf4j
public class TalentCommand implements CommandLineRunner {



    @Resource
    private ISpiderService spiderService;

    @Override
    public void run(String... args) throws Exception {

       // spiderService.startTalentTaskByTalentSubscriptionTaskId("0cf0040084f742a59f32f70d519ce7fe");

      //  spiderService.startTalentJob51TaskByTalentSubscriptionTaskId("33fa2eb00fe54ad283efa77e3d5ecdaf");
       // spiderService.startHtml("http://www.51job.com",1,"<html></html>","11","dd",0);
    }
}
